// interface Meta extends Record<string | number | symbol, unknown> {}

interface BBBB {
  a: boolean;
  b: string;
  [key: string]: string | number | boolean; // BBBB 类型中，除了 a 与 b 属性之外，还可以有任意的满足 value 值为 string 的属性
}

const o: BBBB = {
  a: "1",
  b: "2",
  c: "3",
  d: "4",
  e: 18,
};

type myString = string;

type ID = number | string;

type AAAA = [string, number];

interface XXX {}

type Animal = {
  name: string;
};

type Cat = {
  age: number;
};

type Bear = Animal &
  Cat & {
    honey: boolean;
  };

const b1: Bear = {
  name: "张三",
  honey: true,
  age: 18,
};

// interface Animal {
//   name: string;
// }

// interface Cat {
//   age: number;
// }

// interface Bear extends Animal, Cat {
//   honey: boolean;
// }

// const b1: Bear = {
//   name: "张三",
//   honey: true,
//   age: 18,
// };
